package com.weixin.paleituo.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Author yichao
 * Time  2018/2/8 17:30
 * Dest  付款成功
 */

public class PayForSuccessBean implements Parcelable{

    /**
     * orderId : 961523156336508928
     * deposit : 10000
     * fullname : 测试下试试3单元101
     * purchaseId":"115"
     * purchaseId
     */

    private String orderId;
    private String deposit;
    private String fullname;
    private String purchaseId;

    public String getPurchaseId() {
        return purchaseId;
    }

    public void setPurchaseId(String purchaseId) {
        this.purchaseId = purchaseId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getDeposit() {
        return deposit;
    }

    public void setDeposit(String deposit) {
        this.deposit = deposit;
    }

    public String getFullname() {
        return fullname;
    }

    public void setFullname(String fullname) {
        this.fullname = fullname;
    }

    public PayForSuccessBean() {
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.orderId);
        dest.writeString(this.deposit);
        dest.writeString(this.fullname);
        dest.writeString(this.purchaseId);
    }

    protected PayForSuccessBean(Parcel in) {
        this.orderId = in.readString();
        this.deposit = in.readString();
        this.fullname = in.readString();
        this.purchaseId = in.readString();
    }

    public static final Creator<PayForSuccessBean> CREATOR = new Creator<PayForSuccessBean>() {
        @Override
        public PayForSuccessBean createFromParcel(Parcel source) {
            return new PayForSuccessBean(source);
        }

        @Override
        public PayForSuccessBean[] newArray(int size) {
            return new PayForSuccessBean[size];
        }
    };
}
